#!/usr/bin/env bash
rm -Rf HappyCoderInstaller.app
rm HappyCoderInstaller.zip
/usr/local/bin/platypus -R -a 'HappyCoder' -t 'Ruby' -o 'TextWindow' -u 'Ale Munoz' -i '../Happy Coder.icns' -V '1.0' -s '????' -I 'com.sofanaranja.HappyCoder' -f '../Happy Coder.icns' -f '../Happy Coder.keylayout' 'install.rb' 'HappyCoderInstaller.app'
find ./HappyCoderInstaller.app/ -name .svn -exec rm -Rf {} \;
find ./HappyCoderInstaller.app/ -name CVS -exec rm -Rf {} \;
zip -r HappyCoderInstaller.zip HappyCoderInstaller.app
rm -Rf HappyCoderInstaller.app